import { SegmentedSelectOption } from "./type";

export function isSegmentedSelectOption<T>(item: any): item is SegmentedSelectOption<T> {
  return item && typeof item === "object" && "label" in item && "value" in item;
}
